package exam.bean;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;
import java.util.List;

public class PatentInfo {
    private int id;
    private int patentType;   //专利类别
    private String patentName;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date publishDate;
    private String firstUnit;
    private Integer firstUnitId;
    private String otherUnit;
    private Integer otherUnitId;
    private String person;
    private String projectNum;
    private String projectId;
    private String projectName;
    private Date enterTime;
    private Integer enterUserId;
    private int flag;


    private List<UtilFiles> utilFiles;   //附件
    private List<MultipartFile> files;

    private String enterUserStr;    //录入人名称
    private String patentTypeStr;   //专利类别名称

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPatentType() {
        return patentType;
    }

    public void setPatentType(int patentType) {
        this.patentType = patentType;
    }

    public String getPatentName() {
        return patentName;
    }

    public void setPatentName(String patentName) {
        this.patentName = patentName;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public String getFirstUnit() {
        return firstUnit;
    }

    public void setFirstUnit(String firstUnit) {
        this.firstUnit = firstUnit;
    }

    public String getOtherUnit() {
        return otherUnit;
    }

    public void setOtherUnit(String otherUnit) {
        this.otherUnit = otherUnit;
    }

    public String getPerson() {
        return person;
    }

    public void setPerson(String person) {
        this.person = person;
    }

    public String getProjectNum() {
        return projectNum;
    }

    public void setProjectNum(String projectNum) {
        this.projectNum = projectNum;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public Date getEnterTime() {
        return enterTime;
    }

    public void setEnterTime(Date enterTime) {
        this.enterTime = enterTime;
    }

    public Integer getEnterUserId() {
        return enterUserId;
    }

    public void setEnterUserId(Integer enterUserId) {
        this.enterUserId = enterUserId;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public List<UtilFiles> getUtilFiles() {
        return utilFiles;
    }

    public void setUtilFiles(List<UtilFiles> utilFiles) {
        this.utilFiles = utilFiles;
    }

    public List<MultipartFile> getFiles() {
        return files;
    }

    public void setFiles(List<MultipartFile> files) {
        this.files = files;
    }

    public String getEnterUserStr() {
        return enterUserStr;
    }

    public void setEnterUserStr(String enterUserStr) {
        this.enterUserStr = enterUserStr;
    }

    public String getPatentTypeStr() {
        return patentTypeStr;
    }

    public void setPatentTypeStr(String patentTypeStr) {
        this.patentTypeStr = patentTypeStr;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Integer getFirstUnitId() {
        return firstUnitId;
    }

    public void setFirstUnitId(Integer firstUnitId) {
        this.firstUnitId = firstUnitId;
    }

    public Integer getOtherUnitId() {
        return otherUnitId;
    }

    public void setOtherUnitId(Integer otherUnitId) {
        this.otherUnitId = otherUnitId;
    }
}
